﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ISHotel.presentation
{
    public partial class PokojDetail : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int id_pokoje = Convert.ToInt32(Request.QueryString["id_pokoje"]);

            StringBuilder sb = new StringBuilder();
            sb.Append("Pokoj č. ");
            sb.Append(id_pokoje);
            LabelCisloPokoje.Text = sb.ToString();
            ODS_Pokoj.SelectParameters.Clear();
            ODS_Pokoj.SelectParameters.Add(new Parameter("id_pokoje", TypeCode.Int32, id_pokoje.ToString()));
            ODS_Pokoj.Select();
            

        }
    }
}